xen/arm: Extend SCIF early prink code to handle other interfaces
authorOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Thu, 2 May 2019 17:00:21 +0000 (20:00 +0300)
committerJulien Grall <julien.grall@arm.com>
Thu, 16 May 2019 15:43:49 +0000 (16:43 +0100)
commit89a97016305b617b77cea9c4518f76f2e7e84e19
tree86ec4dd4764edbdba2870d0ad654ea65bc1f8fec
parent9dc8043ba18409e7a2057d8cccbf0ddaff71eb7e
xen/arm: Extend SCIF early prink code to handle other interfaces

Extend early prink code to be able to handle other SCIF(X)
compatible interfaces as well. These interfaces have lot in common,
but mostly differ in offsets and bits for some registers.

Introduce "EARLY_PRINTK_VERSION" config option to choose which
interface version should be used (to properly apply register offsets).

Please note, nothing has been technically changed for Renesas "Lager"
and other supported boards (SCIF).

The "EARLY_PRINTK_VERSION" option for that board should be empty:
CONFIG_EARLY_PRINTK=scif,0xe6e60000

Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Acked-by: Julien Grall <julien.grall@arm.com>
docs/misc/arm/early-printk.txt
xen/arch/arm/Rules.mk
xen/arch/arm/arm32/debug-scif.inc